<div class="panel panel-default panel-intro">
	<div class="panel-heading">
		<ul class="nav nav-tabs">
			<li class="active"><a href="#info" data-toggle="tab">客户详情</a></li>
			<li><a href="#visit" data-toggle="tab">回访列表</a></li>
			<li><a href="#receive" data-toggle="tab">申请记录</a></li>
		</ul>
	</div>
	<div class="panel-body">
		<div id="myTabContent" class="tab-content">
			<!-- 客户详情 -->
			<div class="tab-pane fade active in" id="info">
				<div class="panel-body newrow prindBody">
					<form id="add-form" class="form-horizontal" role="form" data-toggle="validator">
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">客户头像:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">
								<a href="{$busDate.avatar_text}" target="_blank">
									<img src="{$busDate.avatar_text}" alt="avatar" width="100">
								</a>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">客户名称:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.nickname}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">手机号码:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.mobile}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">邮箱:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.email}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">性别:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.gender_text}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">客户来源:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.source.name ?? '未知来源'}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">成交状态:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.deal_text}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">地区:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left; white-space: nowrap;">
								{$busDate.province ? $busDate.province_text : ''}
								{$busDate.city ? '/ '.$busDate.city_text : ''}
								{$busDate.district ? '/ '.$busDate.district_text : ''}
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">认证状态:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left">{$busDate.auth_text}</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-12 col-sm-2">创建时间:</label>
							<div class="control-label col-xs-12 col-sm-2" style="text-align: left; white-space: nowrap;">
								{$busDate.createtime|date="Y-m-d H:i:s", ###}
							</div>
						</div>
					</form>
				</div>
			</div>
			<!-- 回访列表 -->
			<div class="tab-pane fade" id="visit">
				<div id="toolbar2" class="toolbar">
						{:build_toolbar('refresh,add,edit,del')}
				</div>
				<table id="table2" class="table table-striped table-bordered table-hover" width="100%"></table>
			</div>
			<!-- 申请记录 -->
			<div class="tab-pane fade" id="receive">
				<div id="toolbar3" class="toolbar">
						{:build_toolbar('refresh')}
				</div>
				<table id="table3" class="table table-striped table-bordered table-hover" width="100%"></table>
			</div>
		</div>
	</div>
</div>
